home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
batchut
/
sw_42a.zip
/
README.1ST
< prev
next >
Wrap
Text File
|
1992-02-29
|
4KB
|
68 lines
To: Previous Users of SW
RE: SW 4.2 Changes...
There are some changes in this version which may affect the way your older
batch files operate.
First, an additional space has been added to the left and right sides
for borders 1 - 4. It balances the look of the borders and results in
a window that is 2 spaces wider. A window that uses /l5 or custom borders
will be the same size as in previous versions.
Second, if you have used the /l0 /0 combination, the window no longer
has spaces to the left and right of the text. If you want those spaces
you will have to add them to the longest string in the window. They will
also be needed in front of left justified text and after right justified
text. The possibility exists that if you have used these parameters in your
to replace text in an existing window, the new window will no longer cover
all of the old text.
Third, the /I parameter can now display a default in the window. All you
need to do is use the DOS SET command to create the environment variable
before you make the /I call. SW will then display this value in the field.
You have to remember to make sure the variable does NOT exist as well if
you want a blank field. Use "SET ANS=" to delete the ANS variable.
The documentation has been rewritten to make it easier to understand. I
have also included a table of contents to make finding things quicker too.
A history of SW has been added at the end to list changes.
Screen definitions can now evaluate environment variables. You are no longer
restricted to using a command line form when you need the variable values to
be displayed in your windows.
Thank you to Dennis Levin of Los Angeles, CA, Bill Davis of Meadowbrook, CA,
and Craig Menefee for their ideas and feedback.
SW-42.NEW is a screen definition which lists all the major changes.
Addendum: SW 4.2a 2/29/92
SW-42a fixes a bug in evaluating environment variables in screen definitions
which caused improper processing of the rest of the file.
Also, an additional Query default indicator has been included ^ to make SW
compatible with NDOS. The ` can still be used by non-NDOS users.
The /I switch has been enhanced to allow entry of strings longer than the
field. /I8020 will define an 80 character string with a 20 character field.
Also, when the default value retrieved from the environment is longer than
the field, SW will automatically adjust for it. The string cannot be
lengthened however. Maximum string length is 127 minus the length of the
variable name.
IMPORTANT NOTE: Pressing ESC while getting User Input no longer wipes out
the string. This change was made by user request and prevents SW from
removing an existing variable from the environment. If you need to detect
an ESC, check the ERRORLEVEL after the /I call. Pressing ESC will return
EL 1 from SW and normal entry will return EL 0. If SW encounters an error
while trying to add to the environment, SW 4.2a will return EL 2. SW still
displays its own error message as well. Your batch files will need editing.
DI 1.2 has been included with this interum release. It expands /SPACE to
check drives up to 4000 MB in size. /EXIST has been enhanced with an option
to automatically change to the drive and directory where the file was found.
/FIND was added the locate the FIRST occurance of a file on a disk. It also
has the option to change the drive and directory.